package a.f.g.a;

public class cc
  implements nc
{
  private double b = 0.0D;
  private double c = 0.0D;
  private double d = 0.0D;
  private y e = new pb();
  public static int f;
  
  public cc() {}
  
  public cc(y paramy, double paramDouble1, double paramDouble2, double paramDouble3)
  {
    this.b = paramDouble1;
    this.c = paramDouble2;
    this.d = paramDouble3;
    this.e = paramy;
  }
  
  public double a()
  {
    return this.b;
  }
  
  public void a(double paramDouble)
  {
    this.b = paramDouble;
  }
  
  public double b()
  {
    return this.c;
  }
  
  public void b(double paramDouble)
  {
    this.c = paramDouble;
  }
  
  public double c()
  {
    return this.d;
  }
  
  public void c(double paramDouble)
  {
    this.d = paramDouble;
  }
  
  public y d()
  {
    return this.e;
  }
  
  public void a(y paramy)
  {
    this.e = paramy;
  }
  
  public y a(cb paramcb, bb parambb, f paramf)
  {
    boolean bool = xb.r;
    y localy = paramcb.a();
    double d1 = this.d / this.c;
    double d2 = this.e.d() - localy.d();
    double d3 = this.e.f() - localy.f();
    d3 /= d1;
    double d4 = Math.sqrt(d2 * d2 + d3 * d3);
    double d5 = this.c - this.b;
    if ((bool) || (this.b > 0.0D)) {
      if (!bool)
      {
        if (d5 > 0.0D) {
          if (bool) {
            break label146;
          }
        }
      }
      else {
        if (d4 >= d5) {
          break label137;
        }
      }
    }
    return paramf;
    label137:
    label146:
    double d6 = (d4 - d5) / this.b;
    double d7 = d2 / d4 * d6;
    double d8 = d3 / d4 * d6;
    d8 *= d1;
    paramf.b(d7);
    paramf.d(d8);
    paramf.e(0.0D);
    return paramf;
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.g.a.cc
 * JD-Core Version:    0.7.0.1
 */